#path is a shtructure 
#ifndef PATH_H
#define PATH_H

#include<vector>
#include<iostream>
#include"CdPath.h"
#include"createGrapth.h"

class path{
public:
	path(int sor,int des,std::vector<int> vc):source(sor),destination(des),vec(vc),codeIs_true(false){}

	bool isCoding_path();
	double getPath_metrix()const;


	std::vector<int> get_codingNodes();
	void print();
	////////////////////////////////////

	////////////////////////////////////
	bool codeIs_true;
	int path_id;

	vector<CdPath> coding_path_vec;

	std::vector<int> vec;
	std::vector<int> code_nodes;
	int source;
	int destination;
	double metr_cost;
	double weight;
	double average_power;
	double lower_power;
	int hop;
};

#endif

